package org.jeecg.modules.wangyue.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.wangyue.entity.ServiceItems;
import org.jeecg.modules.wangyue.entity.ServiceItemsJs;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.wangyue.model.ServiceTypeAndItemsModel;
import org.springframework.stereotype.Component;

/**
 * @Description: 技师服务项目表
 * @Author: jeecg-boot
 * @Date:   2023-06-30
 * @Version: V1.0
 */
@Component
public interface ServiceItemsJsMapper extends BaseMapper<ServiceItemsJs> {

    IPage<ServiceItems> queryServiceItemsPageByJs(@Param("page") Page page,
                                                  @Param("jsUserId") String jsUserId,
                                                  @Param("jsUserType") String jsUserType);

    List<ServiceItems> queryServiceItemsAllByJs(@Param("jsUserId") String jsUserId,
                                                @Param("jsUserType") String jsUserType);

    List<ServiceTypeAndItemsModel> queryJsServiceTypeToItemsAll(@Param("jsUserId") String jsUserId,
                                                                @Param("jsUserType") String jsUserType);
}
